package STUDENT.NGUYENVANSANG;

import java.util.Scanner;

public class BaiTap1 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println("Please nhap userName");
		String userName = sc.nextLine();
		if (userName.isEmpty()) {
			System.out.println("hay nhap userName ");

		} else {
			System.out.println("Please hay nhap password");
			String password = sc.nextLine();
			if (password.isEmpty()) {
				System.out.println("hay nhap password");
			} else {
				if (userName.equals("nguyen van sang") && password.equals("123456")) {
					System.out.println("xin chuc mung ban");
				} else {
					System.out.println("rat buon sai roi xin nhap lai");
				}
			}
		}
	}
}
